afficher_visuel.Rd
Visualisation d'une illustration html creee par une fonction de propre.rpls.
afficher_visuel(visuel_cree)
une illustration au format html
tab_1_1 <- creer_tableau_1_1(data = lire_rpls_exemple() %>% dplyr::filter(Zone_ref), annee = 2023)
#> Joining with `by = join_by(TypeZone, CodeZone, Zone)`
afficher_visuel(tab_1_1)
#> <table class="table" style="font-size: 12px; margin-left: auto; margin-right: auto;border-bottom: 0;">
#> <caption style="font-size: initial !important;">Le parc locatif social en Corse au 1er janvier 2023</caption>
#> <thead>
#> <tr>
#> <th style="empty-cells: hide;border-bottom:hidden;" colspan="5"></th>
#> <th style="border-bottom:hidden;padding-bottom:0; padding-left:3px;padding-right:3px;text-align: center; " colspan="3"><div style="border-bottom: 1px solid #ddd; padding-bottom: 5px; ">Type de logement</div></th>
#> </tr>
#> <tr>
#> <th style="text-align:left;"> Zone </th>
#> <th style="text-align:right;"> Nombre de logements sociaux au 01/01/2023 </th>
#> <th style="text-align:right;"> Évolution 2023/2022 (en %) </th>
#> <th style="text-align:right;"> Densité pour 100 résidences principales </th>
#> <th style="text-align:right;"> Part de logements en QPV<br>(en %) </th>
#> <th style="text-align:right;"> Part des logements individuels<br>(en %) </th>
#> <th style="text-align:right;"> Part des logements collectifs<br>(en %) </th>
#> <th style="text-align:right;"> Part des logements étudiants<br>(en %) </th>
#> </tr>
#> </thead>
#> <tbody>
#> <tr>
#> <td style="text-align:left;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> France métropolitaine </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 5 141 673 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 1,0 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 17,3 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 28,7 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 15,3 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 82,1 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 2,6 </td>
#> </tr>
#> <tr>
#> <td style="text-align:left;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> France de province </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 3 763 013 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 0,9 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 15,4 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 27,9 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 19,8 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 78,0 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(196, 196, 196, 255) !important;"> 2,2 </td>
#> </tr>
#> <tr>
#> <td style="text-align:left;font-weight: bold;background-color: rgba(255, 255, 255, 255) !important;"> Corse </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(255, 255, 255, 255) !important;"> 15 837 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(255, 255, 255, 255) !important;"> 1,5 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(255, 255, 255, 255) !important;"> 10,1 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(255, 255, 255, 255) !important;"> 31,3 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(255, 255, 255, 255) !important;"> 9,2 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(255, 255, 255, 255) !important;"> 87,9 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(255, 255, 255, 255) !important;"> 2,9 </td>
#> </tr>
#> <tr>
#> <td style="text-align:left;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> Corse-du-Sud </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 6 752 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 2,1 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 9,4 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 17,5 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 7,6 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 92,4 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 0,0 </td>
#> </tr>
#> <tr>
#> <td style="text-align:left;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> Haute-Corse </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 9 085 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 1,1 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 10,8 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 41,6 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 10,4 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 84,5 </td>
#> <td style="text-align:right;font-weight: bold;background-color: rgba(229, 229, 229, 255) !important;"> 5,1 </td>
#> </tr>
#> <tr>
#> <td style="text-align:left;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;padding-left: 2em;" indentlevel="1"> CA de Bastia </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 5 559 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 0,8 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 20,4 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 68,0 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 2,4 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 96,4 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 1,2 </td>
#> </tr>
#> <tr>
#> <td style="text-align:left;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;padding-left: 2em;" indentlevel="1"> CA du Pays Ajaccien </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 5 221 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 1,7 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 13,5 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 16,9 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 5,3 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 94,7 </td>
#> <td style="text-align:right;background-color: rgba(255, 255, 255, 255) !important;font-size: 10px;"> 0,0 </td>
#> </tr>
#> </tbody>
#> <tfoot><tr><td style="padding: 0; " colspan="100%">
#> <sup></sup> Sources : SDES, RPLS au 1er janvier 2023 ; INSEE, recensement de la population 2021</td></tr></tfoot>
#> </table>